﻿
/***************************************************************************************
   Date    : January 30, 2006
   Purpose : Implement the BowlerInfo Class
   Maintenance Log : 
   Revision		Date			Description 
   --------		----		------------------------------------------------------
	1.0		 07/02/2008		    Initial Release

****************************************************************************************/


namespace Hclt.Msft.Til.CricketScoreboard
{
    /// <summary>
    /// ExtraInfo class contains all information 
    /// related to extra runs scored in a match
    /// and information is gathered 
    /// by the use of properties
    /// </summary>
    public class ExtrasInfo
    {
        //Private variable declaration
        private int totalNoBalls;
        private int totalWideBalls;
        private int totalByes;

        
        /// <summary>
        /// Gets or Sets totalNoBalls
        /// </summary>
        public int TotalNoBalls
        {
            get
            {
                return totalNoBalls;
            }
            set
            {
                totalNoBalls = value;
            }
        }

        /// <summary>
        /// Gets or Sets totalWideBalls
        /// </summary>
        public int TotalWideBalls
        {
            get
            {
                return totalWideBalls;
            }
            set
            {
                totalWideBalls = value;
            }
        }

        
        /// <summary>
        /// Gets or Sets totalByes
        /// </summary>
        public int TotalByes
        {
            get
            {
                return totalByes;
            }
            set
            {
                totalByes = value;
            }
        }
    }
}
